package com.example.enterprisemanager.mvvm.fragment.manager.ben;

import java.util.List;

import cn.bmob.v3.BmobObject;
import cn.bmob.v3.datatype.BmobFile;

public class RuinGoods extends BmobObject {
    private String name;              //物品名称
    private String company;           //所属公司
    private BmobFile avatar;          //物品图像描述
    private Integer price;            //单价

    private String type;              //资产类型

    private List<String> goodsIds;     //报废的id
    private String department;      //所在科室

    private String username;     //报废登记操作员姓名

    private Integer ruinNum;       //报废数量


    public RuinGoods() {
    }

    public RuinGoods(String name, String company, BmobFile avatar, Integer price, String type, Integer ruinNum, List<String> goodsIds, String department, String username) {
        this.name = name;
        this.company = company;
        this.avatar = avatar;
        this.price = price;
        this.type = type;
        this.ruinNum = ruinNum;
        this.goodsIds = goodsIds;
        this.department = department;
        this.username = username;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public BmobFile getAvatar() {
        return avatar;
    }

    public void setAvatar(BmobFile avatar) {
        this.avatar = avatar;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getRuinNum() {
        return ruinNum;
    }

    public void setRuinNum(Integer ruinNum) {
        this.ruinNum = ruinNum;
    }

    public List<String> getGoodsIds() {
        return goodsIds;
    }

    public void setGoodsIds(List<String> goodsIds) {
        this.goodsIds = goodsIds;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
}
